package com.why.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonAppend;

import java.io.Serializable;
import java.util.Date;

//维修管理表
public class Maintain implements Serializable {
    private Integer id;
    private String userName;
    private String detailedAddress;

    private String describe;

    private Integer status;

    private String phone;

    private Integer jobNumberId;

    private Integer operatorId;

    private String picture;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sponsorTime;

    private EmployeesAccount employeesAccount;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public EmployeesAccount getEmployeesAccount() {
        return employeesAccount;
    }

    public void setEmployeesAccount(EmployeesAccount employeesAccount) {
        this.employeesAccount = employeesAccount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getJobNumberId() {
        return jobNumberId;
    }

    public void setJobNumberId(Integer jobNumberId) {
        this.jobNumberId = jobNumberId;
    }

    public Integer getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Date getSponsorTime() {
        return sponsorTime;
    }

    public void setSponsorTime(Date sponsorTime) {
        this.sponsorTime = sponsorTime;
    }
}